Skip to content

Add EnableRuntimeGPUAttestation opts to AttestationEvidence API#694

Merged
yawangwang merged 2 commits intogoogle:mainfrom
yawangwang:enable_runtime_gpu_for_evidence_api
Mar 14, 2026
Merged

Add EnableRuntimeGPUAttestation opts to AttestationEvidence API#694
yawangwang merged 2 commits intogoogle:mainfrom
yawangwang:enable_runtime_gpu_for_evidence_api

Conversation

@yawangwang
Copy link
Copy Markdown
Collaborator

By default, runtime GPU attestation is disabled during raw evidence collection. It is enabled only when the /v1/evidence API is called

@yawangwang yawangwang force-pushed the enable_runtime_gpu_for_evidence_api branch from 8587730 to 3531fc8 Compare March 6, 2026 04:27
@yawangwang yawangwang force-pushed the enable_runtime_gpu_for_evidence_api branch 2 times, most recently from 91b59fa to 10df66c Compare March 9, 2026 23:33
@yawangwang yawangwang requested a review from alexmwu March 9, 2026 23:46
Copy link
Copy Markdown
Contributor

@alexmwu alexmwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline, the fields param should not return the runtime attestation by default since it won't for the GetKeyEndorsement API. You can keep the other fields since you've already implemented it. This should also probably return '*' for ease of use

As a side note, the customer has asked for gRPC to replace REST, and we could probably shift to specifying this in gRPC at some point: https://google.aip.dev/157

@yawangwang
Copy link
Copy Markdown
Collaborator Author

As discussed offline, the fields param should not return the runtime attestation by default since it won't for the GetKeyEndorsement API. You can keep the other fields since you've already implemented it. This should also probably return '*' for ease of use

As a side note, the customer has asked for gRPC to replace REST, and we could probably shift to specifying this in gRPC at some point: https://google.aip.dev/157

Done. Changed the behavior of "filterVMAttestationFields" to NOT return runtime device attestation by default, but only return it by "*" or the specific field "deviceReports".

@yawangwang yawangwang force-pushed the enable_runtime_gpu_for_evidence_api branch 3 times, most recently from 5bfc68a to ab8b19d Compare March 13, 2026 03:08
Copy link
Copy Markdown
Contributor

@alexmwu alexmwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve comments before submitting, especially always setting runtime attestation to true

@yawangwang yawangwang force-pushed the enable_runtime_gpu_for_evidence_api branch from ab8b19d to 07d84cb Compare March 13, 2026 23:25
@yawangwang yawangwang force-pushed the enable_runtime_gpu_for_evidence_api branch from 07d84cb to 2d48985 Compare March 13, 2026 23:46
@yawangwang
Copy link
Copy Markdown
Collaborator Author

Please resolve comments before submitting, especially always setting runtime attestation to true

Done.

@yawangwang yawangwang merged commit c16668d into google:main Mar 14, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants